ElasticPress\IndexHelper D

Total Complexity 145
Dependencies 4
Dependents 13
Total lines 1,244
Lines of code 591
Logical lines of code 323
Comment lines 466
Methods 31
Properties 4

Methods 31

Method Rating Maintainability Complexity Lines of code
index_next_batch()
B
33 21 93
build_index_meta()
B
34 18 87
get_objects_to_index()
B
43 18 44
process_sync_item()
A
44 13 44
is_full_reindexing()
A
51 11 24
index_cleanup()
A
46 8 40
stop_the_insanity()
S
49 7 30
index_objects()
S
49 5 30
create_network_alias()
S
50 4 29
output()
S
56 4 17
full_index()
S
57 4 16
put_mapping()
S
57 3 16
update_last_index()
S
57 3 15
on_error_update_and_clean()
S
55 2 19
handle_index_error()
S
68 3 7
output_index_errors()
S
64 2 8
should_skip_object_index()
S
70 2 5
factory()
S
68 2 8
filter_indexables()
S
67 2 8
has_items_to_be_processed()
S
77 2 3
update_totals_from_current_sync_item()
S
60 1 13
output_error()
S
79 1 3
output_success()
S
79 1 3
has_network_alias_to_be_created()
S
79 1 3
get_last_index()
S
78 1 3
full_index_complete()
S
69 1 6
clear_index_meta()
S
75 1 4
get_index_meta()
S
78 1 3
wp_handle_index_error()
S
77 1 4
get_index_default_per_page()
S
77 1 3
setup()
S
79 1 3